package java67_11;

public class TestToy {

	public static void main(String[] args) {
		for (int i = 1; i < 5; i++) {
			// i就在for里面使用
			System.out.println(i);
		}

		LionToy t = new LionToy();
		t.color = "黄";
		t.price = 19;
		t.show();

		t.run();
		String r = t.bark();
		System.out.println(r);
	}

}
